
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> 
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>OA管理系统</title>
    <link rel="stylesheet" type="text/css" href="Styles/admin-all.css" />
    <link rel="stylesheet" type="text/css" href="Styles/base.css" />
    <link rel="stylesheet" type="text/css" href="Styles/bootstrap.min.css" />
    <script type="text/javascript" src="Scripts/jquery.min.js"></script>
    <script type="text/javascript" src="Scripts/bootstrap.min.js"></script>
    <script type="text/javascript" src="Scripts/index.js"></script>
    <style>
        h1{
            height: 30px;
            margin-top: 10px;
        }
    </style>
</head>
<body>
<%--  <%
  session.setAttribute("uid", 3);
  session.setAttribute("deptno", 30);
  session.setAttribute("uname", "小王");
  session.setAttribute("username", "xiaowang");
%>  --%>
<%
  if(session.getAttribute("uid")==null){
	  response.sendRedirect("login.jsp");
  }
%>
    <div class="warp">
        <!--头部开始-->
        <div class="top_c">
            <div class="top-menu">

            </div>
            <div class="top-nav">欢迎您，${uname }  ！&nbsp;&nbsp; <a href="logout">安全退出</a></div>
        </div>
        <!--头部结束-->
        <!--左边菜单开始-->
        <div class="left_c left">
            <h1 class="">系统操作菜单</h1>
            <div class="acc">
                <div>
                    <a class="one">个人办公</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="lookPersonalInfo">个人信息</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/myemail.jsp">邮件</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/notice.jsp">公告</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/workplan.jsp">工作计划</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/mydiary.jsp">工作日志</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/filecabinet.jsp">个人文件柜</a></li>
                    </ul>
                </div>
                <div>
                    <a class="one">申请</a>
                    <ul class="kid">
                         <li><b class="tip"></b><a target="Conframe" href="Template/askapp.jsp">请假申请</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/Maintain-add.html">出差申请</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/Maintain-add.html">会议室申请</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/carApply.jsp">用车申请</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/sealapp.jsp">用章申请</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/Maintain-add.html">新建项目</a></li>
                    </ul>
                </div>
            
                <div>
                     <a class="one">交流论坛</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="Template/report.jsp">发布帖子</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/topic.jsp">列表</a></li>
                          <li><b class="tip"></b><a target="Conframe" href="Template/boredset.jsp">论坛版块设置</a></li>
                    </ul>
                </div>
                
                
               <shiro:hasAnyRoles name="0,1,2">
                <div>
                    <a class="one">项目管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="Template/Maintain-add.html">管理项目</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/Maintain-edit.html">统计报表</a></li>

                    </ul>
                </div>
                         
                
                <div>
                    <a class="one">行政办公</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="Template/Maintain-add.html">会议室管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/carManage.jsp">用车管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/sealmanage.jsp">用章管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/notice-manage.jsp">通知管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/margin_publicfile.jsp"">公文管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/diary-margin.jsp">日志管理</a></li>
                    </ul>
                </div>
                
                <div>
                    <a class="one">人事管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="Template/showContract.jsp">合同管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/showAppraise.jsp">考核管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/showLeave.jsp">请假管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/showTrip.jsp">出差管理</a></li>
                    </ul>
                </div>
                <div>
                    <a class="one">系统管理</a>
                    <ul class="kid">
                        <li><b class="tip"></b><a target="Conframe" href="Template/user-manage.jsp">用户管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/Alert.html">角色管理</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/deptManage.jsp">组织结构</a></li>
                        <li><b class="tip"></b><a target="Conframe" href="Template/operation_log.jsp">操作日志</a></li>
                    </ul>
                </div>
              </shiro:hasAnyRoles>
              
            </div>

        </div>
        <!--左边菜单结束-->
        <!--右边框架开始-->
        <div class="right_c">
            <div class="nav-tip" onclick="javascript:void(0)">&nbsp;</div>

        </div>
        <div class="Conframe">
            <iframe name="Conframe" id="Conframe"></iframe>
        </div>
        <!--右边框架结束-->

        <!--底部开始-->
        <div class="bottom_c">Copyright &copy;哈哈哈</div>
        <!--底部结束-->
    </div>
</body>
</html>

